package com.kws.commercial.dao;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * <b>CommercialWorkOrderManagement</b>
 *
 * @description: CommercialWorkOrderManagement <br>
 * @date: 2024/10/30 16:43 <br>
 * @author: lhm <br>
 * @version: 1.0 <br>
 */
public class CommercialWorkOrderManagement implements Serializable {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "企业ID")
    private Long companyId;

    @ApiModelProperty(value = "项目ID")
    private Long projectQuotationId;

    @ApiModelProperty(value = "服务类型")
    private String serviceType;

    @ApiModelProperty(value = "工单编号")
    private String workOrderNo;

    @ApiModelProperty(value = "任务描述")
    private String taskDescription;

    @ApiModelProperty(value = "要求完成时间")
    public Date requiredCompletionTime;

    @ApiModelProperty(value = "实际完成时间")
    private Date actualCompletionTime;

    @ApiModelProperty(value = "优先级：0-高，1-中，2-低")
    private String priority;

    @ApiModelProperty(value = "处理人")
    private Long processingPersonnel;

    @ApiModelProperty(value = "状态：0-未处理，1-已处理")
    private String status;

    @ApiModelProperty(value = "图片地址")
    private String fileUrl;

    @ApiModelProperty(value = "处理描述")
    private String processDescription;

    @ApiModelProperty(value = "可用状态；0-不可用，1-可用")
    private String enable;

    @ApiModelProperty(value = "创建人")
    private String createUser;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改人")
    private String updateUser;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public Long getProjectQuotationId() {
        return projectQuotationId;
    }

    public void setProjectQuotationId(Long projectQuotationId) {
        this.projectQuotationId = projectQuotationId;
    }

    public String getServiceType() {
        return serviceType;
    }

    public void setServiceType(String serviceType) {
        this.serviceType = serviceType;
    }

    public String getWorkOrderNo() {
        return workOrderNo;
    }

    public void setWorkOrderNo(String workOrderNo) {
        this.workOrderNo = workOrderNo;
    }

    public String getTaskDescription() {
        return taskDescription;
    }

    public void setTaskDescription(String taskDescription) {
        this.taskDescription = taskDescription;
    }

    public Date getRequiredCompletionTime() {
        return requiredCompletionTime;
    }

    public void setRequiredCompletionTime(Date requiredCompletionTime) {
        this.requiredCompletionTime = requiredCompletionTime;
    }

    public Date getActualCompletionTime() {
        return actualCompletionTime;
    }

    public void setActualCompletionTime(Date actualCompletionTime) {
        this.actualCompletionTime = actualCompletionTime;
    }

    public String getPriority() {
        return priority;
    }

    public void setPriority(String priority) {
        this.priority = priority;
    }

    public Long getProcessingPersonnel() {
        return processingPersonnel;
    }

    public void setProcessingPersonnel(Long processingPersonnel) {
        this.processingPersonnel = processingPersonnel;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getFileUrl() {
        return fileUrl;
    }

    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl;
    }

    public String getProcessDescription() {
        return processDescription;
    }

    public void setProcessDescription(String processDescription) {
        this.processDescription = processDescription;
    }

    public String getEnable() {
        return enable;
    }

    public void setEnable(String enable) {
        this.enable = enable;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", companyId=").append(companyId);
        sb.append(", projectQuotationId").append(projectQuotationId);
        sb.append(", serviceType=").append(serviceType);
        sb.append(", workOrderNo=").append(workOrderNo);
        sb.append(", taskDescription=").append(taskDescription);
        sb.append(", requiredCompletionTime").append(requiredCompletionTime);
        sb.append(", actualCompletionTime=").append(actualCompletionTime);
        sb.append(", priority=").append(priority);
        sb.append(", processingPersonnel=").append(processingPersonnel);
        sb.append(", status").append(status);
        sb.append(", fileUrl=").append(fileUrl);
        sb.append(", processDescription=").append(processDescription);
        sb.append(", enable=").append(enable);
        sb.append(", createUser=").append(createUser);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateUser=").append(updateUser);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}
